﻿

/// <summary>
/// 服务端返回分配的userid
/// </summary>
class MsgUseridRep : BaseProtocol
{
    public int userid = 0;
    public override int ProtocolID
    {
        get
        {
            return (int)ProtocolIDEnum.MsgUseridRep;
        }
    }

    /// <summary>
    /// Client
    /// </summary>
    protected override void ReadParams()
    {
        userid = ReadInt();
    }

    /// <summary>
    /// Server
    /// </summary>
    protected override void WriteParams()
    {
        Write(userid);
    }
}

